const { Service } = require('egg');

class UserService extends Service {
  async addName(name) {
    const user = `hello,${name}`;
    return user;
  }
  async deleteById(id) {
    // if (id.lenght !== 0) {
    const res = `删除列表,${id}`;
    return res;
    // }
  }
}
module.exports = UserService;
